package com.sansec.demo.Infrastructure.feigninterface;

import com.sansec.demo.interfaces.dto.UserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "ccsp-producer")
public interface FeignProduceInterface {
    @RequestMapping(value = "/user/get",method = RequestMethod.GET)
    UserDTO getUser();
}
